package tpo.lmhprovider.lmhprovider.service;

import com.github.pagehelper.PageInfo;
import dto.ShowWares;
import pojo.Album;
import pojo.Sort;
import pojo.Wares;

import java.util.List;
import java.util.Map;

public interface WaresService {
    PageInfo<ShowWares> getWaresList(Map map);
    PageInfo<ShowWares> getWaresList2(Map map);
    PageInfo<ShowWares> getWaresList3(Map map);
    PageInfo getWares_Page(Map map);
    List<ShowWares> getWares(Map map);
    List<Wares> getWares2(Map map);
    int addWares(Wares wares,List<String> list);
    int updateWares(Wares wares);
    int delWares(Map map);

    List<Sort> getSort(Map map);
    int addSort(Sort sort);
    int updateSort(Sort sort);
    int delSort(Map map);

    List<Album> getAlbum(Map map);
    int delAlbum(Map map);
    int addAlbum(List<Album> list);
}
